package com.javaear.beangenerator.render;

import com.javaear.beangenerator.Beaner;
import com.javaear.beangenerator.processor.MysqlReverseProcessor;

/**
 * render bean file from mysql
 *
 * @author aooer
 */
public class MysqlRender extends AbstractRender {

    public Beaner raiseBeaner(String beanName) {
        MysqlReverseProcessor processor = new MysqlReverseProcessor();
        context.put("mysql_tableName", beanName);
        processor.init(context);
        return processor.process();
    }

}
